import Layout from '@/layout/index.vue';
import EmptyLayout from '@/layout/empty.vue'

export default [{
    meta: {
        title: '看板',
        icon: 'sidebar-videos'
    },
    name: "showPage",
    children: [{
        path: '/dashboard',
        name: 'dashboard',
        component: () => import('@/layout/dashboard.vue'),
        meta: {
            title: '首页',
            icon: 'ali_home_4',
            auth: [],
            menuId: "",
            sidebar: true,
        }
    }, {
        path: '/showPage',
        name: 'showPage',
        component: () => import('@/layout/dashboard2.vue'),
        meta: {
            title: '菜单导航',
            icon: 'sidebar-menu',
            auth: [],
            menuId: "",
            sidebar: true,
        }
    }]
}, {
    meta: {
        title: '组件',
        icon: 'sidebar-keep-alive'
    },
    name: "component",
    children: [{
        path: '/table',
        name: 'table',
        component: Layout,
        meta: {
            title: '表格',
            icon: 'ali_table',
            auth: [],
            menuId: "",
            sidebar: true,
        }, children: [{
            path: '/table/tableSetting',
            name: 'tableSetting',
            component: () => import('@/views/example/table.vue'),
            meta: {
                title: '表格配置',
                menuId: "",
                icon: '',
                auth: [],
            }
        }]
    }, {
        path: '/component',
        name: 'comRouterSetting',
        redirect: '/component/routerSetting',
        component: Layout,
        meta: {
            title: '路由配置',
            icon: 'ali_lypz',
            auth: [],
            menuId: "",
            sidebar: true,
        },
        children: [{
            path: '/component/routerSetting',
            name: 'routerSetting',
            component: () => import('@/layout/routerSetting/index.vue'),
            meta: {
                title: '路由配置',
                menuId: "",
                icon: 'ali_qq',
                auth: [],
            }
        }]
    }]
}, {
    meta: {
        title: '导航',
        icon: 'icon-qiye'
    },
    name: "index",
    children: [{
        path: '/group1',
        name: 'group1',
        component: Layout,
        redirect: '/group1/e',
        meta: {
            title: '页面1集合',
            icon: 'ali_lypz',
            auth: [],
            menuId: "",
            sidebar: true,
        },
        children: [{
            path: '/group1/e',
            name: 'e',
            component: () => import('@/views/e.vue'),
            meta: {
                title: '页面E',
                menuId: "",
                icon: 'ali_qq',
                auth: [],
            }
        }, {
            path: '/group1/f',
            name: 'f',
            component: () => import('@/views/f.vue'),
            meta: {
                title: '页面F',
                menuId: "",
                icon: 'ali_qq',
                auth: [],
            }
        }, {
            path: '/group1/b',
            name: 'b',
            component: EmptyLayout,
            redirect: '/group1/b/c',
            meta: {
                title: '页面B',
                menuId: "",
                icon: 'eye-open',
                auth: [],
            },
            children: [{
                path: '/group1/b/c',
                name: 'c',
                component: () => import('@/views/c.vue'),
                meta: {
                    title: '页面C',
                    menuId: "",
                    icon: 'fullscreen-exit',
                    auth: [],
                }
            }, {
                path: '/group1/b/d',
                name: 'd',
                component: () => import('@/views/d.vue'),
                meta: {
                    title: '页面D',
                    menuId: "",
                    icon: 'sidebar-mock',
                    auth: [],
                }
            }]
        }]
    }]
}, {
    meta: {
        title: '配置',
        icon: 'sidebar-videos'
    },
    name: "setting",
    children: [{
        path: '/group3',
        name: 'group3',
        component: () => import('@/views/e.vue'),
        meta: {
            title: '页面3集合',
            icon: 'theme',
            auth: [],
            menuId: "",
            sidebar: true,
        }
    }]
}, {
    meta: {
        title: '数据',
        icon: 'sidebar-mock'
    },
    name: "data",
    children: [{
        path: '/group5',
        name: 'group5',
        component: () => import('@/views/g.vue'),
        meta: {
            title: '页面5集合',
            icon: 'ali_jdzlgl',
            auth: [],
            menuId: "",
            sidebar: true,
        }
    }]
}]